package com.hydra.cron.common.utils;

/**
 * hdyraCron Created by ZhengGong on 15/12/28.
 * PackageName com.hydra.cron.common.utils
 * Description
 */
public class PathUtil {
    public static String path(String... strs) {
        StringBuilder sb = new StringBuilder("");
        if (ObjectUtil.isNotNull(strs)) {
            for (int i=0; i<strs.length; i++) {
                sb.append(strs[i]);
                if (i != strs.length - 1) {
                    sb.append("/");
                }
            }
        }
        return sb.toString();
    }
}
